import request from '@/utils/request'
// 获取警告记录
export function getWarningListAPI(params) {
  return request({
    url: '/pole/warning/list',
    params
  })
}
// 删除
export function delWarningAPI(id) {
  return request({
    url: `/pole/warning/${id}`,
    method: 'delete'
  })
}
// 获取详情
export function datilWarningAPI(id) {
  return request({
    url: `/pole/warning/${id}`
  })
}
